Skip to content

[nix] Provide EDA tools through lowrisc-nix mkEdaShell - #2533

Merged
hcallahan-lowrisc merged 1 commit into
lowRISC:masterfrom
SamuelRiedel:nix-edashell
Nov 10, 2026
Merged

hcallahan-lowrisc merged 1 commit into
lowRISC:masterfrom
SamuelRiedel:nix-edashell

Conversation

@SamuelRiedel

Copy link
Copy Markdown
Contributor
  • Move to the lowRISC-recommended way of getting EDA tools (README-eda.md), which replaces nix shell lowrisc-it#<tool>. Tool paths and licenses come from $LOWRISC_EDA_CONFIG at runtime, and the flake only declares which tools and versions are needed.
  • Bump lowrisc-nix to f351b907, the same revision OpenTitan uses, to get mkEdaShell.
  • Add nix/eda_tool_data.json, which lists Xcelium, vManager, Jasper and VCS, using the same versions as OpenTitan.
  • Rebuild eda_shell on mkEdaShell and make it the default devShell. nix develop . now drops you into the EDA sandbox in your own shell (bash, fish or zsh).
  • Add apps.default and apps.eda_shell, so nix run . -- <cmd> runs a command inside the sandbox.
  • A non-hermetic variant that keeps host-installed tools visible is available as nix develop .#eda_shell.nonhermetic.
  • Rebuild formal and formal-dev on mkEdaShell with Jasper. They now warn when jg is missing instead of refusing to start. Update dv/formal/README.md to match.
  • shell, syn_shell and oss-dev are unchanged, so the formal CI job (which uses oss-dev) is not affected.

Note, I tried the cosim, which worked fine with this. To run jg on my machine, I had to launch it with: jg -allow_unsupported_OS

Signed-off-by: Samuel Riedel <sriedel@lowrisc.org>
@SamuelRiedel

Copy link
Copy Markdown
Contributor Author

@hcallahan-lowrisc @machshev any feedback on this? Do you think we could merge something like this for Ibex analogously to OT?

@machshev machshev left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @SamuelRiedel!
Looks good to me.

@hcallahan-lowrisc hcallahan-lowrisc left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah great @SamuelRiedel sorry for the slow response

@hcallahan-lowrisc
hcallahan-lowrisc added this pull request to the merge queue Nov 10, 2026
Merged via the queue into lowRISC:master with commit db2b0d9 Nov 10, 2026
13 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 10, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants